<%--
  Created by IntelliJ IDEA.
  User: 29238
  Date: 2021/5/21
  Time: 20:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>

    <meta charset="utf-8">
    <!-- Link boostrap -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <!-- Link layui.css -->
    <link rel="stylesheet" type="text/css" href="https://www.layuicdn.com/layui/css/layui.css" />
    <!-- Link css file -->
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/login.css"/>
    <!-- Link layer.js -->
    <script src="http://code.jquery.com/jquery-1.8.3.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/layer/3.4.0/layer.js"></script>
    <!-- Link layui.js -->
    <script src="https://www.layuicdn.com/layui/layui.js"></script>


    <title>管理员登录</title>

    <%--    <script type="text/javascript" language="JavaScript">--%>
    <%--        function check() {--%>
    <%--            if (${loginStatus} === "登录成功") {--%>
    <%--                layer.msg('登录成功', {icon: 1});--%>
    <%--            } else {--%>
    <%--                layer.msg('登录失败', {icon: 2});--%>
    <%--            }--%>
    <%--        }--%>
    <%--    </script>--%>
</head>
<%--<body>--%>
<%--<div class="container">--%>
<%--    <!-- 表单 -->--%>
<%--    <form action="${pageContext.request.contextPath}/managers/login" method="post">--%>
<%--        <div class="form-group">--%>
<%--            <label>管理员ID</label>--%>
<%--            <input  class="form-control" type="text" name="managerId" required=""/>--%>
<%--        </div>--%>

<%--        <div class="form-group">--%>
<%--            <label>管理员密码</label>--%>
<%--            <input  class="form-control" type="password" name="managerPwd" required=""/>--%>
<%--        </div>--%>

<%--        <div class="form-group">--%>
<%--            <input class="form-control" type="submit" value="登录" onclick="check()">--%>
<%--        </div>--%>
<%--    </form>--%>
<%--    &lt;%&ndash;    <span>${loginStatus}</span>&ndash;%&gt;--%>
<%--</div>--%>
<%--</body>--%>
<body>
<div class="sign-up-container">
    <div class="sign-up-form">
        <form class="layui-form" action="${pageContext.request.contextPath}/managers/login" method="post">
            <div class="text-center login-in-top">
                <!-- <img src="img/logo1.png" class="img-circle img-responsive center-block"> -->
                <p>LONGIN</p>
            </div>
            <div class="form-group">
                <label>UserID</label>
                <input
                        class="form-control layui-input"
                        required
                        lay-verify="required"
                        name="managerId"
                        type="text"
                        placeholder="请输入用户姓名"
                        autocomplete="off"
                />
            </div>
            <div class="form-group">
                <label>Password</label>
                <input
                        class="form-control"
                        required
                        lay-verify="required"
                        name="managerPwd"
                        type="password"
                        placeholder="请输入用户密码"
                />
            </div>
            <div>
                <button class="layui-btn layui-btn-primary layui-border-black layui-btn-fluid" type="submit"  lay-submit  >LOG IN</button>
            </div>
        </form>
    </div>

    <div class="container-form">
        <div class="center">
            <h1>Welcome to Our BMS</h1>
            <h3>Book management system</h3>
        </div>
    </div>
</div>
</body>
</html>
